<%@ include file="/view/template/header.jsp"%>	
	<div id="content">
    	<%@ include file="/view/ehr/ehr_common.jsp"%>
        	<div class="right-content">
				<div class="box">
			 	<div class="sub_box">
					<h1><s:label key="label.patient.search_patient" cssClass="label_text"></s:label></h1>
					<h3><s:if test='replyMessage.message!="empty"'>
					<s:property value="replyMessage.message"/>
			</s:if></h3>

						<s:form action="search_patient_form" method="post">
				
							<div class="con-part">
								<span><s:label key="label.patient.patientId" cssClass="label_text"></s:label></span> 
								<s:textfield name="patientDetails.patient.patientId" class="input-text" cssErrorClass="error"></s:textfield> 
								<s:fielderror cssStyle="errorMessage"><s:param value="%{'patientDetails.patient.patientId'}"/></s:fielderror> 
							</div>
							
							<div class="con-part">
								<span><s:label key="label.patient.givenName" cssClass="label_text"></s:label></span> 
								<s:textfield name="patientDetails.patient.givenName" class="input-text" cssErrorClass="error"></s:textfield>  
								<s:fielderror cssStyle="errorMessage"><s:param value="%{'patientDetails.patient.givenName'}"/></s:fielderror>
							</div>
							
							<div class="con-part">
								<span><s:label key="label.patient.familyName" cssClass="label_text"></s:label></span> 
								<s:textfield name="patientDetails.patient.familyName" class="input-text" cssErrorClass="error"></s:textfield> 
								<s:fielderror cssStyle="errorMessage"><s:param value="%{'patientDetails.patient.familyName'}"/></s:fielderror>  
							</div>
							
							<div class="con-part">
								<span><s:label key="label.patient.nic" cssClass="label_text" cssErrorClass="error"></s:label> </span>
								<s:textfield name="patientDetails.patient.nicNo" class="input-text"></s:textfield> 
								<s:fielderror cssStyle="errorMessage"><s:param value="%{'patientDetails.patient.nicNo'}"/></s:fielderror>  
							</div>
							
							<div class="con-part"><span>&nbsp;</span>
								<s:submit key="search.search_button" cssClass="green" />  
							</div>
					
						</s:form>
						
					</div>
				</div>
			</div>
    	</div>

	<%@ include file="/view/template/footer.jsp"%>
